home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Utilities / RandomDot 1.0.2 / Random Dot Src ƒ / _h / ZoomCode.h < prev   
Encoding:
C/C++ Source or Header  |  1994-10-18  |  343 b   |  9 lines  |  [TEXT/KAHL]

  1. /* ZoomCode.h -
  2.     Note: this code is from develop magazine, issue 17. It is referreed by Apple and
  3.     may be freely used in Macintosh programs.
  4.  */
  5. typedef void (*CalcIdealDocumentSizeProcPtr)(WindowPtr theWindow, Rect *idealContentSize);
  6.  
  7. void ZoomTheWindow(WindowPeek theWindow, short zoomState,
  8.                     CalcIdealDocumentSizeProcPtr calcRoutine);
  9.